//
//  DetailInfoViewController.m
//  meiyaya
//
//  Created by 张领瑞 on 2017/9/6.
//  Copyright © 2017年 ShiFeiEr. All rights reserved.
//

#import "DetailInfoViewController.h"

@interface DetailInfoViewController ()

@end

@implementation DetailInfoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"资讯详情";
    //重写导航栏返回按钮
    UIBarButtonItem *backBtnItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"return"] style:UIBarButtonItemStylePlain target:self action:@selector(backToAlivingViewController)];
    self.navigationItem.leftBarButtonItem = backBtnItem;
    // Do any additional setup after loading the view from its nib.
}
//重写导航栏返回按钮响应
-(void)backToAlivingViewController{
    [self.navigationController popViewControllerAnimated:YES];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
